package com.msb.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.msb.common.utils.PageUtils;
import com.msb.mall.product.entity.CategoryEntity;
import com.msb.mall.product.entity.vo.Catalog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author lwq
 * @email 1907326957@qq.com
 * @date 2024-06-12 20:30:41
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryPageWithTree(Map<String, Object> params);

    void removeCategoryByIds(List<Long> idList);

    Long[] findCateLogIds(Long catelLogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevelCateGory();

    Map<String, List<Catalog2Vo>> getCateLog2Json();
}

